This class is meant to be created together with the Shaders.
Changes how the Shader behaves based on the backend
Should not be used directly. The D type inference can already set that for you. This is stored by the variable to know how to access itself and comunicate the shader.
Struct that holds uniform/cbuffer information for Direct3D and OpenGL shaders. It can be any type. Its data is accessed by the ShaderVariableLayout when sendVars is called. Thus, depending on its corrensponding type, its data is uploaded to the GPU.